package com.cqndt.disaster.device.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbsDlfQlfExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbsDlfQlfExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDevIdIsNull() {
            addCriterion("dev_id is null");
            return (Criteria) this;
        }

        public Criteria andDevIdIsNotNull() {
            addCriterion("dev_id is not null");
            return (Criteria) this;
        }

        public Criteria andDevIdEqualTo(String value) {
            addCriterion("dev_id =", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdNotEqualTo(String value) {
            addCriterion("dev_id <>", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdGreaterThan(String value) {
            addCriterion("dev_id >", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdGreaterThanOrEqualTo(String value) {
            addCriterion("dev_id >=", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdLessThan(String value) {
            addCriterion("dev_id <", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdLessThanOrEqualTo(String value) {
            addCriterion("dev_id <=", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdLike(String value) {
            addCriterion("dev_id like", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdNotLike(String value) {
            addCriterion("dev_id not like", value, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdIn(List<String> values) {
            addCriterion("dev_id in", values, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdNotIn(List<String> values) {
            addCriterion("dev_id not in", values, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdBetween(String value1, String value2) {
            addCriterion("dev_id between", value1, value2, "devId");
            return (Criteria) this;
        }

        public Criteria andDevIdNotBetween(String value1, String value2) {
            addCriterion("dev_id not between", value1, value2, "devId");
            return (Criteria) this;
        }

        public Criteria andMarkIsNull() {
            addCriterion("mark is null");
            return (Criteria) this;
        }

        public Criteria andMarkIsNotNull() {
            addCriterion("mark is not null");
            return (Criteria) this;
        }

        public Criteria andMarkEqualTo(Integer value) {
            addCriterion("mark =", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotEqualTo(Integer value) {
            addCriterion("mark <>", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThan(Integer value) {
            addCriterion("mark >", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThanOrEqualTo(Integer value) {
            addCriterion("mark >=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThan(Integer value) {
            addCriterion("mark <", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThanOrEqualTo(Integer value) {
            addCriterion("mark <=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkIn(List<Integer> values) {
            addCriterion("mark in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotIn(List<Integer> values) {
            addCriterion("mark not in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkBetween(Integer value1, Integer value2) {
            addCriterion("mark between", value1, value2, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotBetween(Integer value1, Integer value2) {
            addCriterion("mark not between", value1, value2, "mark");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterion("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterion("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterion("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterion("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterion("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterion("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterion("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterion("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterion("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterion("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andShiftXIsNull() {
            addCriterion("shift_x is null");
            return (Criteria) this;
        }

        public Criteria andShiftXIsNotNull() {
            addCriterion("shift_x is not null");
            return (Criteria) this;
        }

        public Criteria andShiftXEqualTo(String value) {
            addCriterion("shift_x =", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXNotEqualTo(String value) {
            addCriterion("shift_x <>", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXGreaterThan(String value) {
            addCriterion("shift_x >", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXGreaterThanOrEqualTo(String value) {
            addCriterion("shift_x >=", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXLessThan(String value) {
            addCriterion("shift_x <", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXLessThanOrEqualTo(String value) {
            addCriterion("shift_x <=", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXLike(String value) {
            addCriterion("shift_x like", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXNotLike(String value) {
            addCriterion("shift_x not like", value, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXIn(List<String> values) {
            addCriterion("shift_x in", values, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXNotIn(List<String> values) {
            addCriterion("shift_x not in", values, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXBetween(String value1, String value2) {
            addCriterion("shift_x between", value1, value2, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftXNotBetween(String value1, String value2) {
            addCriterion("shift_x not between", value1, value2, "shiftX");
            return (Criteria) this;
        }

        public Criteria andShiftYIsNull() {
            addCriterion("shift_y is null");
            return (Criteria) this;
        }

        public Criteria andShiftYIsNotNull() {
            addCriterion("shift_y is not null");
            return (Criteria) this;
        }

        public Criteria andShiftYEqualTo(String value) {
            addCriterion("shift_y =", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYNotEqualTo(String value) {
            addCriterion("shift_y <>", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYGreaterThan(String value) {
            addCriterion("shift_y >", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYGreaterThanOrEqualTo(String value) {
            addCriterion("shift_y >=", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYLessThan(String value) {
            addCriterion("shift_y <", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYLessThanOrEqualTo(String value) {
            addCriterion("shift_y <=", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYLike(String value) {
            addCriterion("shift_y like", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYNotLike(String value) {
            addCriterion("shift_y not like", value, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYIn(List<String> values) {
            addCriterion("shift_y in", values, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYNotIn(List<String> values) {
            addCriterion("shift_y not in", values, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYBetween(String value1, String value2) {
            addCriterion("shift_y between", value1, value2, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftYNotBetween(String value1, String value2) {
            addCriterion("shift_y not between", value1, value2, "shiftY");
            return (Criteria) this;
        }

        public Criteria andShiftZIsNull() {
            addCriterion("shift_z is null");
            return (Criteria) this;
        }

        public Criteria andShiftZIsNotNull() {
            addCriterion("shift_z is not null");
            return (Criteria) this;
        }

        public Criteria andShiftZEqualTo(String value) {
            addCriterion("shift_z =", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZNotEqualTo(String value) {
            addCriterion("shift_z <>", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZGreaterThan(String value) {
            addCriterion("shift_z >", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZGreaterThanOrEqualTo(String value) {
            addCriterion("shift_z >=", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZLessThan(String value) {
            addCriterion("shift_z <", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZLessThanOrEqualTo(String value) {
            addCriterion("shift_z <=", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZLike(String value) {
            addCriterion("shift_z like", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZNotLike(String value) {
            addCriterion("shift_z not like", value, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZIn(List<String> values) {
            addCriterion("shift_z in", values, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZNotIn(List<String> values) {
            addCriterion("shift_z not in", values, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZBetween(String value1, String value2) {
            addCriterion("shift_z between", value1, value2, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andShiftZNotBetween(String value1, String value2) {
            addCriterion("shift_z not between", value1, value2, "shiftZ");
            return (Criteria) this;
        }

        public Criteria andFirstXIsNull() {
            addCriterion("first_x is null");
            return (Criteria) this;
        }

        public Criteria andFirstXIsNotNull() {
            addCriterion("first_x is not null");
            return (Criteria) this;
        }

        public Criteria andFirstXEqualTo(String value) {
            addCriterion("first_x =", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXNotEqualTo(String value) {
            addCriterion("first_x <>", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXGreaterThan(String value) {
            addCriterion("first_x >", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXGreaterThanOrEqualTo(String value) {
            addCriterion("first_x >=", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXLessThan(String value) {
            addCriterion("first_x <", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXLessThanOrEqualTo(String value) {
            addCriterion("first_x <=", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXLike(String value) {
            addCriterion("first_x like", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXNotLike(String value) {
            addCriterion("first_x not like", value, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXIn(List<String> values) {
            addCriterion("first_x in", values, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXNotIn(List<String> values) {
            addCriterion("first_x not in", values, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXBetween(String value1, String value2) {
            addCriterion("first_x between", value1, value2, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstXNotBetween(String value1, String value2) {
            addCriterion("first_x not between", value1, value2, "firstX");
            return (Criteria) this;
        }

        public Criteria andFirstYIsNull() {
            addCriterion("first_y is null");
            return (Criteria) this;
        }

        public Criteria andFirstYIsNotNull() {
            addCriterion("first_y is not null");
            return (Criteria) this;
        }

        public Criteria andFirstYEqualTo(String value) {
            addCriterion("first_y =", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYNotEqualTo(String value) {
            addCriterion("first_y <>", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYGreaterThan(String value) {
            addCriterion("first_y >", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYGreaterThanOrEqualTo(String value) {
            addCriterion("first_y >=", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYLessThan(String value) {
            addCriterion("first_y <", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYLessThanOrEqualTo(String value) {
            addCriterion("first_y <=", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYLike(String value) {
            addCriterion("first_y like", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYNotLike(String value) {
            addCriterion("first_y not like", value, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYIn(List<String> values) {
            addCriterion("first_y in", values, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYNotIn(List<String> values) {
            addCriterion("first_y not in", values, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYBetween(String value1, String value2) {
            addCriterion("first_y between", value1, value2, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstYNotBetween(String value1, String value2) {
            addCriterion("first_y not between", value1, value2, "firstY");
            return (Criteria) this;
        }

        public Criteria andFirstZIsNull() {
            addCriterion("first_z is null");
            return (Criteria) this;
        }

        public Criteria andFirstZIsNotNull() {
            addCriterion("first_z is not null");
            return (Criteria) this;
        }

        public Criteria andFirstZEqualTo(String value) {
            addCriterion("first_z =", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZNotEqualTo(String value) {
            addCriterion("first_z <>", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZGreaterThan(String value) {
            addCriterion("first_z >", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZGreaterThanOrEqualTo(String value) {
            addCriterion("first_z >=", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZLessThan(String value) {
            addCriterion("first_z <", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZLessThanOrEqualTo(String value) {
            addCriterion("first_z <=", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZLike(String value) {
            addCriterion("first_z like", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZNotLike(String value) {
            addCriterion("first_z not like", value, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZIn(List<String> values) {
            addCriterion("first_z in", values, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZNotIn(List<String> values) {
            addCriterion("first_z not in", values, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZBetween(String value1, String value2) {
            addCriterion("first_z between", value1, value2, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstZNotBetween(String value1, String value2) {
            addCriterion("first_z not between", value1, value2, "firstZ");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineIsNull() {
            addCriterion("first_pull_line is null");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineIsNotNull() {
            addCriterion("first_pull_line is not null");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineEqualTo(String value) {
            addCriterion("first_pull_line =", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineNotEqualTo(String value) {
            addCriterion("first_pull_line <>", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineGreaterThan(String value) {
            addCriterion("first_pull_line >", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineGreaterThanOrEqualTo(String value) {
            addCriterion("first_pull_line >=", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineLessThan(String value) {
            addCriterion("first_pull_line <", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineLessThanOrEqualTo(String value) {
            addCriterion("first_pull_line <=", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineLike(String value) {
            addCriterion("first_pull_line like", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineNotLike(String value) {
            addCriterion("first_pull_line not like", value, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineIn(List<String> values) {
            addCriterion("first_pull_line in", values, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineNotIn(List<String> values) {
            addCriterion("first_pull_line not in", values, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineBetween(String value1, String value2) {
            addCriterion("first_pull_line between", value1, value2, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andFirstPullLineNotBetween(String value1, String value2) {
            addCriterion("first_pull_line not between", value1, value2, "firstPullLine");
            return (Criteria) this;
        }

        public Criteria andNowXIsNull() {
            addCriterion("now_x is null");
            return (Criteria) this;
        }

        public Criteria andNowXIsNotNull() {
            addCriterion("now_x is not null");
            return (Criteria) this;
        }

        public Criteria andNowXEqualTo(String value) {
            addCriterion("now_x =", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXNotEqualTo(String value) {
            addCriterion("now_x <>", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXGreaterThan(String value) {
            addCriterion("now_x >", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXGreaterThanOrEqualTo(String value) {
            addCriterion("now_x >=", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXLessThan(String value) {
            addCriterion("now_x <", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXLessThanOrEqualTo(String value) {
            addCriterion("now_x <=", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXLike(String value) {
            addCriterion("now_x like", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXNotLike(String value) {
            addCriterion("now_x not like", value, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXIn(List<String> values) {
            addCriterion("now_x in", values, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXNotIn(List<String> values) {
            addCriterion("now_x not in", values, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXBetween(String value1, String value2) {
            addCriterion("now_x between", value1, value2, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowXNotBetween(String value1, String value2) {
            addCriterion("now_x not between", value1, value2, "nowX");
            return (Criteria) this;
        }

        public Criteria andNowYIsNull() {
            addCriterion("now_y is null");
            return (Criteria) this;
        }

        public Criteria andNowYIsNotNull() {
            addCriterion("now_y is not null");
            return (Criteria) this;
        }

        public Criteria andNowYEqualTo(String value) {
            addCriterion("now_y =", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYNotEqualTo(String value) {
            addCriterion("now_y <>", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYGreaterThan(String value) {
            addCriterion("now_y >", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYGreaterThanOrEqualTo(String value) {
            addCriterion("now_y >=", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYLessThan(String value) {
            addCriterion("now_y <", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYLessThanOrEqualTo(String value) {
            addCriterion("now_y <=", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYLike(String value) {
            addCriterion("now_y like", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYNotLike(String value) {
            addCriterion("now_y not like", value, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYIn(List<String> values) {
            addCriterion("now_y in", values, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYNotIn(List<String> values) {
            addCriterion("now_y not in", values, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYBetween(String value1, String value2) {
            addCriterion("now_y between", value1, value2, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowYNotBetween(String value1, String value2) {
            addCriterion("now_y not between", value1, value2, "nowY");
            return (Criteria) this;
        }

        public Criteria andNowZIsNull() {
            addCriterion("now_z is null");
            return (Criteria) this;
        }

        public Criteria andNowZIsNotNull() {
            addCriterion("now_z is not null");
            return (Criteria) this;
        }

        public Criteria andNowZEqualTo(String value) {
            addCriterion("now_z =", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZNotEqualTo(String value) {
            addCriterion("now_z <>", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZGreaterThan(String value) {
            addCriterion("now_z >", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZGreaterThanOrEqualTo(String value) {
            addCriterion("now_z >=", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZLessThan(String value) {
            addCriterion("now_z <", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZLessThanOrEqualTo(String value) {
            addCriterion("now_z <=", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZLike(String value) {
            addCriterion("now_z like", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZNotLike(String value) {
            addCriterion("now_z not like", value, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZIn(List<String> values) {
            addCriterion("now_z in", values, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZNotIn(List<String> values) {
            addCriterion("now_z not in", values, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZBetween(String value1, String value2) {
            addCriterion("now_z between", value1, value2, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowZNotBetween(String value1, String value2) {
            addCriterion("now_z not between", value1, value2, "nowZ");
            return (Criteria) this;
        }

        public Criteria andNowPullLineIsNull() {
            addCriterion("now_pull_line is null");
            return (Criteria) this;
        }

        public Criteria andNowPullLineIsNotNull() {
            addCriterion("now_pull_line is not null");
            return (Criteria) this;
        }

        public Criteria andNowPullLineEqualTo(String value) {
            addCriterion("now_pull_line =", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineNotEqualTo(String value) {
            addCriterion("now_pull_line <>", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineGreaterThan(String value) {
            addCriterion("now_pull_line >", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineGreaterThanOrEqualTo(String value) {
            addCriterion("now_pull_line >=", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineLessThan(String value) {
            addCriterion("now_pull_line <", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineLessThanOrEqualTo(String value) {
            addCriterion("now_pull_line <=", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineLike(String value) {
            addCriterion("now_pull_line like", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineNotLike(String value) {
            addCriterion("now_pull_line not like", value, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineIn(List<String> values) {
            addCriterion("now_pull_line in", values, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineNotIn(List<String> values) {
            addCriterion("now_pull_line not in", values, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineBetween(String value1, String value2) {
            addCriterion("now_pull_line between", value1, value2, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andNowPullLineNotBetween(String value1, String value2) {
            addCriterion("now_pull_line not between", value1, value2, "nowPullLine");
            return (Criteria) this;
        }

        public Criteria andElectricIsNull() {
            addCriterion("electric is null");
            return (Criteria) this;
        }

        public Criteria andElectricIsNotNull() {
            addCriterion("electric is not null");
            return (Criteria) this;
        }

        public Criteria andElectricEqualTo(Integer value) {
            addCriterion("electric =", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricNotEqualTo(Integer value) {
            addCriterion("electric <>", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricGreaterThan(Integer value) {
            addCriterion("electric >", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricGreaterThanOrEqualTo(Integer value) {
            addCriterion("electric >=", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricLessThan(Integer value) {
            addCriterion("electric <", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricLessThanOrEqualTo(Integer value) {
            addCriterion("electric <=", value, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricIn(List<Integer> values) {
            addCriterion("electric in", values, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricNotIn(List<Integer> values) {
            addCriterion("electric not in", values, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricBetween(Integer value1, Integer value2) {
            addCriterion("electric between", value1, value2, "electric");
            return (Criteria) this;
        }

        public Criteria andElectricNotBetween(Integer value1, Integer value2) {
            addCriterion("electric not between", value1, value2, "electric");
            return (Criteria) this;
        }

        public Criteria andVoltageIsNull() {
            addCriterion("voltage is null");
            return (Criteria) this;
        }

        public Criteria andVoltageIsNotNull() {
            addCriterion("voltage is not null");
            return (Criteria) this;
        }

        public Criteria andVoltageEqualTo(String value) {
            addCriterion("voltage =", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageNotEqualTo(String value) {
            addCriterion("voltage <>", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageGreaterThan(String value) {
            addCriterion("voltage >", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageGreaterThanOrEqualTo(String value) {
            addCriterion("voltage >=", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageLessThan(String value) {
            addCriterion("voltage <", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageLessThanOrEqualTo(String value) {
            addCriterion("voltage <=", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageLike(String value) {
            addCriterion("voltage like", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageNotLike(String value) {
            addCriterion("voltage not like", value, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageIn(List<String> values) {
            addCriterion("voltage in", values, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageNotIn(List<String> values) {
            addCriterion("voltage not in", values, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageBetween(String value1, String value2) {
            addCriterion("voltage between", value1, value2, "voltage");
            return (Criteria) this;
        }

        public Criteria andVoltageNotBetween(String value1, String value2) {
            addCriterion("voltage not between", value1, value2, "voltage");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthIsNull() {
            addCriterion("signal_strength is null");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthIsNotNull() {
            addCriterion("signal_strength is not null");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthEqualTo(Integer value) {
            addCriterion("signal_strength =", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthNotEqualTo(Integer value) {
            addCriterion("signal_strength <>", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthGreaterThan(Integer value) {
            addCriterion("signal_strength >", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthGreaterThanOrEqualTo(Integer value) {
            addCriterion("signal_strength >=", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthLessThan(Integer value) {
            addCriterion("signal_strength <", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthLessThanOrEqualTo(Integer value) {
            addCriterion("signal_strength <=", value, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthIn(List<Integer> values) {
            addCriterion("signal_strength in", values, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthNotIn(List<Integer> values) {
            addCriterion("signal_strength not in", values, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthBetween(Integer value1, Integer value2) {
            addCriterion("signal_strength between", value1, value2, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andSignalStrengthNotBetween(Integer value1, Integer value2) {
            addCriterion("signal_strength not between", value1, value2, "signalStrength");
            return (Criteria) this;
        }

        public Criteria andShardingIdIsNull() {
            addCriterion("sharding_id is null");
            return (Criteria) this;
        }

        public Criteria andShardingIdIsNotNull() {
            addCriterion("sharding_id is not null");
            return (Criteria) this;
        }

        public Criteria andShardingIdEqualTo(String value) {
            addCriterion("sharding_id =", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdNotEqualTo(String value) {
            addCriterion("sharding_id <>", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdGreaterThan(String value) {
            addCriterion("sharding_id >", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdGreaterThanOrEqualTo(String value) {
            addCriterion("sharding_id >=", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdLessThan(String value) {
            addCriterion("sharding_id <", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdLessThanOrEqualTo(String value) {
            addCriterion("sharding_id <=", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdLike(String value) {
            addCriterion("sharding_id like", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdNotLike(String value) {
            addCriterion("sharding_id not like", value, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdIn(List<String> values) {
            addCriterion("sharding_id in", values, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdNotIn(List<String> values) {
            addCriterion("sharding_id not in", values, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdBetween(String value1, String value2) {
            addCriterion("sharding_id between", value1, value2, "shardingId");
            return (Criteria) this;
        }

        public Criteria andShardingIdNotBetween(String value1, String value2) {
            addCriterion("sharding_id not between", value1, value2, "shardingId");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceIsNull() {
            addCriterion("rel_displace is null");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceIsNotNull() {
            addCriterion("rel_displace is not null");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceEqualTo(String value) {
            addCriterion("rel_displace =", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceNotEqualTo(String value) {
            addCriterion("rel_displace <>", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceGreaterThan(String value) {
            addCriterion("rel_displace >", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceGreaterThanOrEqualTo(String value) {
            addCriterion("rel_displace >=", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceLessThan(String value) {
            addCriterion("rel_displace <", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceLessThanOrEqualTo(String value) {
            addCriterion("rel_displace <=", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceLike(String value) {
            addCriterion("rel_displace like", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceNotLike(String value) {
            addCriterion("rel_displace not like", value, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceIn(List<String> values) {
            addCriterion("rel_displace in", values, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceNotIn(List<String> values) {
            addCriterion("rel_displace not in", values, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceBetween(String value1, String value2) {
            addCriterion("rel_displace between", value1, value2, "relDisplace");
            return (Criteria) this;
        }

        public Criteria andRelDisplaceNotBetween(String value1, String value2) {
            addCriterion("rel_displace not between", value1, value2, "relDisplace");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}